﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Linq;

namespace Core.Xml.Ogc.Ows
{
    enum ValuesUnitTypes
    {
        UOM,
        ReferenceSystem
    }

    class ValuesUnit : IXmlIsland
    {
        public ValuesUnitTypes ValuesUnitType { get; set; }
        public DomainMetaDataType Unit { get; set; }

        public XElement CreateXElement()
        {
            return Unit.CreateXElement(Namespaces.OWS + Enum.GetName(typeof(ValuesUnitTypes), ValuesUnitType));
        }
    }
}
